package com.liu.factory.impl;

import com.liu.factory.AbstractFactory;
import com.liu.product.Product;
import com.liu.product.impl.ProductImplB;

public class FactoryImplB implements AbstractFactory {
    @Override
    public Product newProduct() {
        System.out.println("具体工厂2开始生产-->具体产品2...");
        return new ProductImplB();
    }
}
